﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;

namespace SevenInvaders.LEVEL_JACK
{
    class Energia : Player
    {
        public animation Verde;
        public animation Amarelo;
        public animation Vermelho;

        public Energia(Texture2D _textura, Vector2 _posicao, int _player, GameWindow _gameWindow, ContentManager _content)
            : base (_textura, _posicao, _player, _gameWindow, _content)
        {
            Verde = new animation();
            Verde.frame.X = 0;
            Verde.frame.Y = 0;
            Verde.frame.Width = 90;
            Verde.frame.Height = 15;
            Verde.frames = 2;
            Verde.fps = 4;

            Amarelo = new animation();
            Amarelo.frame.X = 0;
            Amarelo.frame.Y = 16;
            Amarelo.frame.Width = 90;
            Amarelo.frame.Height = 15;
            Amarelo.frames = 2;
            Amarelo.fps = 4;

            Vermelho = new animation();
            Vermelho.frame.X = 0;
            Vermelho.frame.Y = 32;
            Vermelho.frame.Width = 90;
            Vermelho.frame.Height = 15;
            Vermelho.frames = 2;
            Vermelho.fps = 4;

            current_animation = Verde;
        }

        public override void Update(GameTime gameTime)
        {
            
        }
    }
}
